import 'package:xreader/generated/json/base/json_convert_content.dart';
import 'package:xreader/model/fan_yi_entity.dart';

FanYiEntity $FanYiEntityFromJson(Map<String, dynamic> json) {
	final FanYiEntity fanYiEntity = FanYiEntity();
	final String? x = jsonConvert.convert<String>(json['x']);
	if (x != null) {
		fanYiEntity.x = x;
	}
	final String? y = jsonConvert.convert<String>(json['y']);
	if (y != null) {
		fanYiEntity.y = y;
	}
	return fanYiEntity;
}

Map<String, dynamic> $FanYiEntityToJson(FanYiEntity entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['x'] = entity.x;
	data['y'] = entity.y;
	return data;
}